package com.bluefish.bltuan.dao;

import java.util.List;

import com.bluefish.bltuan.module.cms.Content;
import com.bluefish.bltuan.module.cms.ContentType;

public interface ContentDao extends AbstractDao<Content, Integer>{

	List<Content> listByType(ContentType type);

	int countByType(ContentType type);

	void updatePositionAfter(int pos, ContentType type);

	List<Content> listByNick(String nick);

}
